package mx.com.initzero.ecommerce.utils.quartz;

import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;
import org.springframework.scheduling.quartz.QuartzJobBean;

public class RunMeJob extends QuartzJobBean {

private RunMeTask runMeTask;

public void setRunMeTask(RunMeTask runMeTask) {
this.runMeTask = runMeTask;
}

@Override
protected void executeInternal(JobExecutionContext context)
throws JobExecutionException {


runMeTask.printMe();

}
}